package com.test40_JDBC.service;

import com.test40_JDBC.vo.Dept;

import java.sql.SQLException;
import java.util.List;

public interface IBatchService extends AutoCloseable {
    public void deptBatch(List<Dept> depts) throws SQLException;
    public void empBatch(List<Dept> depts) throws SQLException;
    public void rollback() throws SQLException;
    public void commit() throws SQLException;
}
